import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/js/flexible.js'
// 桌面端适配
import '../node_modules/@vant/touch-emulator/index.js';
import cmps from "@/components/index.js"
import api from "./request/api.js";
import request from "./request/request.js";

import Vant from 'vant';
import '../node_modules/vant/lib/index.less';

Vue.use(Vant);
Vue.use(cmps);

Vue.prototype.$api = api;
Vue.prototype.$axios = request;
console.dir(Vue.prototype.$api);


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')